package com.example.viewoutlineprovidertest

import android.graphics.Outline
import android.view.View
import android.view.ViewOutlineProvider

/**
 * Created by dede on 2018/2/26.
 */
class MyViewOutlineProvider: ViewOutlineProvider() {

    override fun getOutline(view: View?, outline: Outline?) {
        outline?.setRoundRect(0, -20, 220, 200, 10f)
    }
}